package socket.modle;

import java.io.DataInputStream;

/**
 * Created by cjx on 2019/8/22
 * 说明：
 */
public interface ConnectedCallback {

    void onConnectedStatusChange(String key, boolean connected, Exception e, String msg);

    byte[] onReceive(String key, DataInputStream dataInputStream);

}
